package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcCsunBodyGroupBind;
import com.csun.cmny.provider.model.vo.csunbody.BodyGroupBindVo;
import com.csun.cmny.provider.model.vo.csunbody.BodyGroupVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcCsunBodyGroupBindMapper extends Mapper<DmcCsunBodyGroupBind> {

    /**
     * query list by id
     *
     * @param id the id
     *
     * @return the list.
     */
    List<BodyGroupBindVo> queryListById(Long id);

    /**
     * the query body group by device no
     *
     * @param bodySensorId the body sensor id
     *
     * @return the body group vo
     */
    BodyGroupVo queryBodyGroupByDeviceNo(String bodySensorId);
}